using System;
using System.Collections.Generic;
using System.Text;
namespace BE
{
	public class Zd_BienBanKiemKe: BusinessObjectBase
	{

		#region InnerClass
		public enum Zd_BienBanKiemKeFields
		{
			KiemKe_ID,
			BoYTe,
			BenhVien,
			Khoa,
			MS,
			So,
			Ten1,
			Ten2,
			Ten3,
			Ten4,
			Ten5,
			ChucDanh1,
			ChucDanh2,
			ChucDanh3,
			ChucDanh4,
			ChucDanh5,
			Date1,
			Date2,
			ThoiGian,
			DeXuat,
			ThanhVien,
			ThuKy,
			ChuTich,
			TinhTrang,
			Field1,
			Field2,
			Field3,
			Field4,
			Field5
		}
		#endregion

		#region Data Members

			int _kiemKe_ID;
			string _boYTe;
			string _benhVien;
			string _khoa;
			string _mS;
			string _so;
			string _ten1;
			string _ten2;
			string _ten3;
			string _ten4;
			string _ten5;
			string _chucDanh1;
			string _chucDanh2;
			string _chucDanh3;
			string _chucDanh4;
			string _chucDanh5;
			DateTime? _date1;
			DateTime? _date2;
			string _thoiGian;
			string _deXuat;
			string _thanhVien;
			string _thuKy;
			string _chuTich;
			string _tinhTrang;
			string _field1;
			string _field2;
			string _field3;
			string _field4;
			string _field5;

		#endregion

		#region Properties

		public int  KiemKe_ID
		{
			 get { return _kiemKe_ID; }
			 set
			 {
				 if (_kiemKe_ID != value)
				 {
					_kiemKe_ID = value;
				 }
			 }
		}

		public string  BoYTe
		{
			 get { return _boYTe; }
			 set
			 {
				 if (_boYTe != value)
				 {
					_boYTe = value;
				 }
			 }
		}

		public string  BenhVien
		{
			 get { return _benhVien; }
			 set
			 {
				 if (_benhVien != value)
				 {
					_benhVien = value;
				 }
			 }
		}

		public string  Khoa
		{
			 get { return _khoa; }
			 set
			 {
				 if (_khoa != value)
				 {
					_khoa = value;
				 }
			 }
		}

		public string  MS
		{
			 get { return _mS; }
			 set
			 {
				 if (_mS != value)
				 {
					_mS = value;
				 }
			 }
		}

		public string  So
		{
			 get { return _so; }
			 set
			 {
				 if (_so != value)
				 {
					_so = value;
				 }
			 }
		}

		public string  Ten1
		{
			 get { return _ten1; }
			 set
			 {
				 if (_ten1 != value)
				 {
					_ten1 = value;
				 }
			 }
		}

		public string  Ten2
		{
			 get { return _ten2; }
			 set
			 {
				 if (_ten2 != value)
				 {
					_ten2 = value;
				 }
			 }
		}

		public string  Ten3
		{
			 get { return _ten3; }
			 set
			 {
				 if (_ten3 != value)
				 {
					_ten3 = value;
				 }
			 }
		}

		public string  Ten4
		{
			 get { return _ten4; }
			 set
			 {
				 if (_ten4 != value)
				 {
					_ten4 = value;
				 }
			 }
		}

		public string  Ten5
		{
			 get { return _ten5; }
			 set
			 {
				 if (_ten5 != value)
				 {
					_ten5 = value;
				 }
			 }
		}

		public string  ChucDanh1
		{
			 get { return _chucDanh1; }
			 set
			 {
				 if (_chucDanh1 != value)
				 {
					_chucDanh1 = value;
				 }
			 }
		}

		public string  ChucDanh2
		{
			 get { return _chucDanh2; }
			 set
			 {
				 if (_chucDanh2 != value)
				 {
					_chucDanh2 = value;
				 }
			 }
		}

		public string  ChucDanh3
		{
			 get { return _chucDanh3; }
			 set
			 {
				 if (_chucDanh3 != value)
				 {
					_chucDanh3 = value;
				 }
			 }
		}

		public string  ChucDanh4
		{
			 get { return _chucDanh4; }
			 set
			 {
				 if (_chucDanh4 != value)
				 {
					_chucDanh4 = value;
				 }
			 }
		}

		public string  ChucDanh5
		{
			 get { return _chucDanh5; }
			 set
			 {
				 if (_chucDanh5 != value)
				 {
					_chucDanh5 = value;
				 }
			 }
		}

		public DateTime?  Date1
		{
			 get { return _date1; }
			 set
			 {
				 if (_date1 != value)
				 {
					_date1 = value;
				 }
			 }
		}

		public DateTime?  Date2
		{
			 get { return _date2; }
			 set
			 {
				 if (_date2 != value)
				 {
					_date2 = value;
				 }
			 }
		}

		public string  ThoiGian
		{
			 get { return _thoiGian; }
			 set
			 {
				 if (_thoiGian != value)
				 {
					_thoiGian = value;
				 }
			 }
		}

		public string  DeXuat
		{
			 get { return _deXuat; }
			 set
			 {
				 if (_deXuat != value)
				 {
					_deXuat = value;
				 }
			 }
		}

		public string  ThanhVien
		{
			 get { return _thanhVien; }
			 set
			 {
				 if (_thanhVien != value)
				 {
					_thanhVien = value;
				 }
			 }
		}

		public string  ThuKy
		{
			 get { return _thuKy; }
			 set
			 {
				 if (_thuKy != value)
				 {
					_thuKy = value;
				 }
			 }
		}

		public string  ChuTich
		{
			 get { return _chuTich; }
			 set
			 {
				 if (_chuTich != value)
				 {
					_chuTich = value;
				 }
			 }
		}

		public string  TinhTrang
		{
			 get { return _tinhTrang; }
			 set
			 {
				 if (_tinhTrang != value)
				 {
					_tinhTrang = value;
				 }
			 }
		}

		public string  Field1
		{
			 get { return _field1; }
			 set
			 {
				 if (_field1 != value)
				 {
					_field1 = value;
				 }
			 }
		}

		public string  Field2
		{
			 get { return _field2; }
			 set
			 {
				 if (_field2 != value)
				 {
					_field2 = value;
				 }
			 }
		}

		public string  Field3
		{
			 get { return _field3; }
			 set
			 {
				 if (_field3 != value)
				 {
					_field3 = value;
				 }
			 }
		}

		public string  Field4
		{
			 get { return _field4; }
			 set
			 {
				 if (_field4 != value)
				 {
					_field4 = value;
				 }
			 }
		}

		public string  Field5
		{
			 get { return _field5; }
			 set
			 {
				 if (_field5 != value)
				 {
					_field5 = value;
				 }
			 }
		}


		#endregion

		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("KiemKe_ID", "KiemKe_ID"));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("BoYTe", "BoYTe",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("BenhVien", "BenhVien",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Khoa", "Khoa",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("MS", "MS",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("So", "So",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Ten1", "Ten1",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Ten2", "Ten2",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Ten3", "Ten3",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Ten4", "Ten4",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Ten5", "Ten5",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("ChucDanh1", "ChucDanh1",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("ChucDanh2", "ChucDanh2",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("ChucDanh3", "ChucDanh3",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("ChucDanh4", "ChucDanh4",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("ChucDanh5", "ChucDanh5",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("ThoiGian", "ThoiGian",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("DeXuat", "DeXuat",1073741823));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("ThanhVien", "ThanhVien",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("ThuKy", "ThuKy",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("ChuTich", "ChuTich",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("TinhTrang", "TinhTrang",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Field1", "Field1",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Field2", "Field2",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Field3", "Field3",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Field4", "Field4",50));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("Field5", "Field5",50));
		}

		#endregion

	}
}
